package com.lx.wxdemo.service.impl;

import com.lx.wxdemo.dao.OrderDao;
import com.lx.wxdemo.entity.Order;
import com.lx.wxdemo.service.OrderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Description TODO
 * @Author lx
 * @Date 2021/1/6 11:20
 **/
@Service
public class OrderServiceImpl implements OrderService {

    @Autowired
    private OrderDao orderDao;

    @Override
    public void save(Order order) {
        orderDao.insertOrder(order);
    }
}
